
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>开始页面</title>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/index/index.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/easyui.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/icon.css" />
    <script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/json2.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/index/outlook.js"> </script>
    <script type="text/javascript">

        var date = new Date();
        var _menus = {"menus":[
            {
                "menuid":"1",
                //"icon":"icon-sys",
                "menuname":"系统管理",
                "menus":[
                    {"menuname":"数据源配置","icon":"icon-nav","url":"<%=basePath%>jsp/datasource.jsp?data="+date.getTime()},
                    {"menuname":"自动备份任务配置","icon":"icon-nav","url":"<%=basePath%>jsp/manageDataSourec.jsp?data="+date.getTime()},
                   // {"menuname":"自动对比任务配置","icon":"icon-nav","url":"<%=basePath%>jsp/taskcompare.jsp?data="+date.getTime()},
                    //{"menuname":"自动对比任务配置","icon":"icon-nav","url":"<%=basePath%>jsp/taskcompare.jsp?data="+date.getTime()},
                    {"menuname":"手动对比功能","icon":"icon-nav","url":"<%=basePath%>jsp/compare.jsp?data="+date.getTime()},
                    {"menuname":"对比异常日志","icon":"icon-nav","url":"<%=basePath%>jsp/record.jsp?data="+date.getTime()},
                    {"menuname":"任务运行日志","icon":"icon-nav","url":"<%=basePath%>jsp/backup.jsp?data="+date.getTime()},
                    {"menuname":"任务状态日志","icon":"icon-nav","url":"<%=basePath%>jsp/taskstate.jsp?data="+date.getTime()}
                    /*{"menuname":"添加用户","icon":"icon-add","url":""},
                     {"menuname":"用户管理","icon":"icon-users","url":"demo2.html"},
                     {"menuname":"角色管理","icon":"icon-role","url":"demo2.html"},
                     {"menuname":"权限设置","icon":"icon-set","url":"demo.html"},
                     {"menuname":"系统日志","icon":"icon-log","url":"demo.html"}*/
                ]
            }
        ]};
    </script>
</head>
<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">
<noscript>
    <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
        <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' />
    </div>
</noscript>
<%--顶部--%>
<div region="north" split="true" border="false" style="overflow: hidden; height: 50px;
        background: url(<%=basePath%>css/images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%;
        line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">

    <span style="float:right;  padding-right:20px; padding-top: 20px; "  class="head"><%--<a href="#" id="editpass">修改密码</a> --%> <a href="#" id="loginOut" onclick="custom_close()" ></a></span>
    <span style="padding-left:10px; font-size: 16px; "><%--<img src="images/blocks.gif" width="20" height="20" align="absmiddle" />--%> </span>
</div>
    <%--底部--%>
    <div region="south" split="true" style="height: 30px; background: #D2E0F2; "></div>
    <div class="footer">......</div>

    <%--左边菜单选项栏--%>
    <div region="west" split="true" title="导航菜单" style="width:180px;" id="west">


    <div class="easyui-accordion" data-options="fit:true,border:false">
        <!--  导航内容 -->
        <h4>请不要使用IE浏览器,请使用火狐打开</h4>
    </div>
</div>
<%--显示结果--%>
<div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">

    <div id="tabs" class="easyui-tabs"  fit="true" border="false" >
        <div title="欢迎使用" style="padding:20px;overflow:hidden; " id="home">

            <h1 style="padding:20px; font-size: 35px;">欢迎使用！</h1>


    <div data-options="region:'center',title:'结果'" style="display:none;" id="datasource">

         <iframe  frameborder="0" width="100%" height="100%" name="show" > 和 </iframe>
    </div>
 </div>
        </div>
    </div>
</body>
</html>
